package com.yk.anima.dao;

import com.github.pagehelper.Page;
import com.yk.anima.pojo.ProductsHheep;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductsHheepMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(ProductsHheep record);

    int insertSelective(ProductsHheep record);

    ProductsHheep selectByPrimaryKey(Integer pId);

    int updateByPrimaryKeySelective(ProductsHheep record);

    int updateByPrimaryKey(ProductsHheep record);

    List<ProductsHheep> findAll();

    Page<ProductsHheep> findByPage(@Param("name") String name);
}